onOffice\WPlugin\Controller\UserCapabilities S

Total Complexity 7
Dependencies 2
Dependents 11
Total lines 119
Lines of code 39
Logical lines of code 17
Comment lines 26
Methods 3
Properties 1

Methods 3

Method Rating Maintainability Complexity Lines of code
add_plugin_capabilities_to_roles()
S
54 3 26
getCapabilityForRule()
S
68 2 7
checkIfCurrentUserCan()
S
71 2 6